/** https证书 */
const SERVER_KEY_PATH = __dirname + '/server.key';
const SERVER_CERT_PATH = __dirname + '/server.crt';

/** 文件存储目录 */
const FILE_FOLDER = 'files';

/** 存储所有上传文件的hash的redis键值 */
const FILES_HASH_KEY = 'fileHashList';

const CLIENT_ERROR_CODE = 400;
const SERVER_ERROR_CODE = 500;
const PARTIAL_CONTENT_CODE = 206;


const PORT = 3000;

module.exports = {
    SERVER_KEY_PATH,
    SERVER_CERT_PATH,
    FILE_FOLDER,
    FILES_HASH_KEY,
    CLIENT_ERROR_CODE,
    SERVER_ERROR_CODE,
    PARTIAL_CONTENT_CODE,
    PORT
};
